/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.kj.entity;


import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * kj_admin_regionEntity
 * @author hzy
 * @version 2021-08-08
 */
@Table(name="kj_admin_region", alias="a", columns={
		@Column(name="user_code", attrName="userCode", label="控制用户编码", isPK=true),
		@Column(name="city_code", attrName="cityCode", label="地区code", isPK=true),
		@Column(name="city_name", attrName="cityName", label="地区名", isPK=true),
	}, orderBy="a.user_code DESC, a.city_code DESC, a.city_name DESC"
)
public class KjAdminRegion extends DataEntity<KjAdminRegion> {
	
	private static final long serialVersionUID = 1L;
	private String userCode;		// 控制用户编码
	private String cityCode;		// 地区code
	private String cityName;		// 地区名
	
	public KjAdminRegion() {
		this(null, null, null);
	}

	public KjAdminRegion(String userCode, String cityCode, String cityName){
		this.userCode = userCode;
		this.cityCode = cityCode;
		this.cityName = cityName;
	}
	
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	
	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	
}